import Character
class ArealEffect(Character.Character):
	def isAlive(self):
		return False
	def canClimb(self,it):
		return False
	def getHeight(self):
		return self.image.get_height()
	def getWidth(self):
		return self.image.get_width()
	def getFullHeight(self):
		self.getHeight()
	def hitResult(self):
		pass
	def bumping(self):
		return True
	def postcondition(self):
		if self.timer==0:
			self.cur_room.projectilesList.remove(self)
		else:
			self.timer=self.timer-1
	def drawingInformation(self):
		return (self.x-0.5*self.getWidth(),self.y+self.getHeight()),self.image
	def __init__(self,x=0,y=0,image=None,timer=1):
		Character.Character.__init__(self,x=x,y=y)
		self.image=image
		self.timer=timer
		self.fraction=-2